package com.example.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.po.GoodsPO;
import org.apache.ibatis.annotations.Param;
/*
@description:
@ClassName GoodsMapper
@author chen
@create 2025-06-10 17:19
@Version 1.0
*/
public interface GoodsMapper extends BaseMapper<GoodsPO>
{
    int placeOrder1(@Param("goodsId") String goodsId, @Param("num") int num);

    int placeOrder2(@Param("goodsId") String goodsId, @Param("num") int num, @Param("expectVersion") long expectVersion);

    int placeOrder3(@Param("goodsId") String goodsId, @Param("num") int num);
}
